#!/bin/bash

echo What frequency do you want : 
read -e frequency
echo What duration do you want : 
read -e duration
echo What file name do you want :
read -e fileName


echo The frequency input was : $frequency
echo The duration input was : $duration
echo The file name input was : $fileName

mpstat $frequency $duration > $fileName

gzip $filename

